package com.probiz.estore.order.service.impl;

import com.probiz.estore.common.model.order.OrderShipmentItem;
import com.probiz.estore.core.service.impl.GenericManagerImpl;
import com.probiz.estore.order.service.OrderShipmentItemManager;
import com.probiz.estore.order.dao.OrderShipmentItemDao;


/**
 * Manager implementation for OrderShipmentItem, responsible for business processing, and communicate between web and persistence layer.
 */
public class OrderShipmentItemManagerImpl extends GenericManagerImpl<OrderShipmentItem> implements OrderShipmentItemManager {

	private OrderShipmentItemDao orderShipmentItemDao = null;

	/**
	 * @param orderShipmentItemDao
	 *            the orderShipmentItemDao to set
	 */
	public void setOrderShipmentItemDao(OrderShipmentItemDao orderShipmentItemDao) {
		this.orderShipmentItemDao = orderShipmentItemDao;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.probiz.estore.core.service.impl.GenericManagerImpl#init()
	 */
	@Override
	protected void initManager() {
		dao = orderShipmentItemDao;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.probiz.estore.core.service.impl.GenericManagerImpl#preDelete(java.lang.Object)
	 */
	@Override
	protected void preDelete(OrderShipmentItem entity) {

	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.probiz.estore.core.service.impl.GenericManagerImpl#preSave(java.lang.Object)
	 */
	@Override
	protected void preSave(OrderShipmentItem entity) {

	}

}
